<#compress>

<!doctype html>
<html>
<head>
    <title>中南币</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="cache-control" content="no-cache">
    <meta name="viewport"
          content="width=320, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="${ctx}/static/mobileweb/css/zncurrency.css">
</head>
<body>
<div class="page">
    <div class="main">
        <div class="header">
            <img src="${ctx}/static/mobileweb/images/zncurrency/coins-pic.png"/>
            <span id="record" title="中南币流水" data-url="${ctx}/mobileweb/currency/record?mid=${mid}&wxno=${wxno}">${member.currency!}中南币</span>
            <div id="exchange" class="header-right" data-url="${ctx}/mobileweb/currency/exchange?mid=${mid!}&wxno=${wxno!}" data-phone="${member.phone!}"><a href="javascript:void(0);">兑换积分 >></a></div>
        </div>

        <div class="middler">
            <img src="${ctx}/static/mobileweb/images/zncurrency/middle.png" />
        </div>

        <div class="footer">
            <div class="footer-top"><img src="${ctx}/static/mobileweb/images/zncurrency/footer.png" /></div>
            <div class="footer-content">
                <#if signRule.description??>
                <div class="footer-content-row">
                    <div class="footer-content-row-title">攻略一</div>
                    <div class="footer-content-row-content">${signRule.description!}</div>
                </div>
                </#if>
                <div class="footer-content-row">
                    <div class="footer-content-row-title">攻略<#if signRule.description??>二<#else>一</#if></div>
                    <div class="footer-content-row-content">经常关注刮刮乐和大转盘等游戏有机会获得跟多的中南币</div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="${ctx}/static/mobileweb/scripts/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${ctx}/static/mobileweb/scripts/noty/jquery.noty.min.js"></script>
<script type="text/javascript">
    $(function() {
        var message = {
            'info': function (message) {
                var n = noty({
                    text        : message,
                    type        : 'warning',
                    dismissQueue: true,
                    timeout     : 1000,
                    layout      : 'topCenter',
                    theme       : 'defaultTheme',
                    maxVisible  : 10
                });
            },
            'warn': function (message) {
                var n = noty({
                    text        : message,
                    type        : 'warning',
                    dismissQueue: true,
                    timeout     : 1000,
                    layout      : 'topCenter',
                    theme       : 'defaultTheme',
                    maxVisible  : 10
                });
            }
        };

        $('#record').click(function() {
            var url = $(this).attr('data-url');
            window.location.href = url;
        });

        $('#exchange').click(function() {
            var $this = $(this);
            var phone = $this.attr("data-phone");
            if(!phone) {
                message.warn("请先绑定会员！");
                return false;
            }
            var url = $this.attr('data-url');
            window.location.href = url;
        });


    });
</script>

</html>
</#compress>

<#--
<a href="${ctx}/mobileweb/currency/exchange?mid=${mid!}&wxno=${wxno!}">中南币兑换积分</a>-->
